<?php
namespace App\Admin\Extensions\Tools;

use Encore\Admin\Admin;
use Encore\Admin\Grid\Tools\AbstractTool;
class BackUrl extends AbstractTool
{
    public function __construct($url = 'javascript:;')
    {
        $this->url = $url;
    }

    public function render()
    {
		$url = $this->url;

        return view('admin.tools.backurl', compact('url'));
    }
}